<script>

    function start() {
        jQuery.ajax(
        {
            'success': function(data){
              getCurrentTime(jQuery.parseJSON(data));
            }, 
            'type':'POST',
            'url':'/circleTraders/index.php?r=ajax/getCurrentTime',
            'cache':false
        });
    }

    function getCurrentTime(cities) {
        world.initCities(cities);
        alert(world.cities[0].name);
    }
</script>

<button value="initGame" onclick="start()"/>


<?php echo CHtml::endForm(); ?>
